package com.house.mapper;

import com.house.entity.Accusation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AccusationMapper {
    List<Accusation> findAll();

    int deleteById(@Param("id") int id);

    int insertOne(@Param("userId")int userId,@Param("houseId")int houseId,@Param("inf")String inf,@Param("result")String result);

}
